/*******************************************************************************
 * Copyright (c) Jerges A. Bello G. 2014. Reservado todos los derechos.
 ******************************************************************************/
package com.jabex.persistence.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Jerges Bello on 14/05/2014.
 *
 */
@Entity
@Table(name = "ADA_CITIES")
public class Cities extends Identity {

    @Column(name = "NAME",length = 100, unique = false, nullable = false)
    private String name;
	@Column(name = "CODE", length = 5, unique = false, nullable = false)
	private String code;
	@Column(name = "GPS", unique = false, nullable = false)
    private String gps;
    @Column(name = "POPULATIONS", unique = false, nullable = false)
    private Double populations;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getGps() {
		return gps;
    }

    public void setGps(String gps) {
        this.gps = gps;
    }


    public Double getPopulations() {
        return populations;
    }

    public void setPopulations(Double populations) {
        this.populations = populations;
    }
}
